Hello, Can anyone tell me how to identify whether an attribute is module scope or object scope using DXL? Is there any direct method or way which tells us that this is module scope or Object scope attribute. Thanks in advance Mayur Chaudhari - Sat Feb 03 02:37:07 EST 2018 |
Re: How to identify whether an attribute is module scope or object scope attribute? See the AttrDef properties module and object in your copy of the DXL Reference if (ad.object) { // Object attribute } |
Re: How to identify whether an attribute is module scope or object scope attribute? just one addition: remember that attributes can be of module scope, of object scope or both! So, in addition to ask "if (ad.object)", you might also want to ask "if (ad.module)", depending on your needs... |